//
//  RVValidMobileController.swift
//  AirTravel
//
//  Created by apple on 2021/11/11.
//

import UIKit

class RVValidMobileController: CommonVC {

    @IBOutlet weak var btn: UIButton!
    
    @IBOutlet weak var telLabel: UILabel!
    
    @IBOutlet weak var codeTF: UITextField!
    
    @IBOutlet weak var codeBtn: GSCaptchaButton!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        head.title.text = "换绑手机"
        btn.setBtnGradient()
        codeBtn.setTitle("获取验证码", for: .normal)
        codeBtn.setTitle("secondS后重发", for: .disabled)
    }

    @IBAction func clickCodeBtn(_ sender: GSCaptchaButton) {
        codeBtn.countdown = true
    }

    
    @IBAction func clickBtn(_ sender: Any) {
        
        let vc = RVBindMobileController()
        navigationController?.pushViewController(vc, animated: true)
        
        
    }
    
}
